css select labels for checked checkbox

188

input[type="checkbox"]:checked + label  { color:green; }
/* input:checked + label  { color:green; } /* short version */

Comments

Submit
0 Comments